*,*::before,*::after{ box-sizing: border-box; }
*{ margin: 0; padding: 0; }
ul,ol{list-style: none;}
a,a:hover{
    text-decoration: none;
    color: inherit;
}




/* style */
body{
    background: linear-gradient(90deg, #efd5ff 0%, #515ada 100%);
    background-size: 120%;
}

.globalHeader{
    margin: 20px;
    margin-top: 50px;
}
.searchForm{
    display: flex;
    justify-content: space-between;
}

.globalMain{
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.searchForm > input{
    width: 100%;
    margin-right: 10px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 30px;
    outline: none;
}

.searchForm > button{
    white-space: nowrap;
    padding: 0 20px;
    border: none;
    border-radius: 4px;
    background: #fff;
    color: #000;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    outline: none;
}


.siteList{
    display: flex;
    margin: 25px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.siteList > li{
    margin-bottom: 25px;
    cursor: pointer;
    transition: all 0.2s linear;
}

.siteList .site{
    width: 160px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px 0;
    position: relative;
    transition: all 0.2s linear;
}

.siteList .site > .close{
    position: absolute;
    right: 10px;
    top: 5px;
}

.siteList .site > .logo{
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 64px;
    text-transform: uppercase;
}

.siteList .site > .link{
    font-size: 14px;
    margin-top: 4px;

}

.siteList .addButton{
    width: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px 0;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 8px;

}
.siteList .addButton .text{
    font-size: 14px;
    margin-top: 4px;
}
.siteList .addButton .icon{
    width: 56px;
    height: 56px;
}

.siteList .addButton .icon-wrapper{
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
}


@media (min-width:600px){
    body{
        background: linear-gradient(90deg, #efd5ff 0%, #515ada 100%);
        background-size: 120%;
        animation: yidong 10s linear infinite;
    }
    .globalHeader{
        margin-top: 200px;
    }
    .searchForm{
        max-width: 850px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 60px;
        margin-bottom: 60px;
    }
    .searchForm > input{
        padding-left: 25px;
        height: 60px;
    }
    .searchForm > input:hover{
        transition: all 0.2s linear;
        box-shadow: 0 0 10px #424cd4;
    }
    .searchForm > button{
        font-size: 24px;
        font-weight: bold;
        line-height: 100%;
        padding: 0 50px;
    }
    .searchForm > button:hover{
        transition: all 0.2s linear;
        box-shadow: 0 0 10px #424cd4;
    }
    .siteList{
        margin-left: 0;
        margin-right: -25px;
        justify-content: flex-start;
    }
    .siteList .site > .close{
        display: none;
    }
    .siteList .site:hover > .close{
        display: block;
        cursor: default;
        transition: all 0.2s linear;
    }
    .siteList > li{
        margin-right: 25px;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .siteList > li:hover .site{
        box-shadow: 0 0 10px #424cd4;
    }
    .siteList > li:hover{
        transform: translateY(-5px);
    }
    .siteList .addButton:hover{
        box-shadow: 0 0 10px #424cd4;
    }
}

@keyframes yidong{
    0%{
        background-size: 120%;
        background-position: bottom left;
    }
    50%{
        background-size: 120%;
        background-position: center center;
    }
    50%{
        background-size: 120%;
        background-position: top right;
    }
}